<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>claxx/maincourse.jsp</title>
</head>
<body>
	<table border="1" style="width: 500px">
		<caption>班级已选主修课程</caption>
		<thead>
			<tr>
				<th>Id</th>
				<th>课程</th>
				<th>班级</th>
				<th colspan="2">操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${models }" var="mo">
				<tr>
					<td>${mo.id }</td>
					<td>${mo.name }</td>
					<td>${mo.manager.name }</td>
					<td><a href="edit?id=${mo.id }">修改</a></td>
					<td><a href="delete?id=${mo.id }">删除</a></td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
</body>
</html>